package com.linked.mystyle.leaveword.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linked.mystyle.leaveword.bean.LeaveWordListRequest;
import com.linked.mystyle.leaveword.bean.LeaveWordPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author :dbq
 * @date : 2022/9/30 14:23
 */
@Mapper
public interface ILeaveWordMapper extends BaseMapper<LeaveWordPO> {
    IPage<LeaveWordPO> queryLeaveWordList(@Param("request") LeaveWordListRequest request);

    int updateHandleStatus(@Param("leavewordId") String leavewordId,@Param("handleStatus") String handleStatus);
}
